
    	<li id="da"><a href="admin.php">Dashboard</a></li>
		<li id="act"><a href="active.php">Active</a><span id="activePostsNum"><?php echo getNumOfPosts();?></span></li>
		<li id="arh"><a href="archive.php">Archives</a></li>
		<li id="sta"><a href="stats.php">Stats</a></li>
		<li id="pos"><a href="post.php">Post</a></li>
    </ul>
    <div class="clear"></div>
</div>
<div id="undermain_nav">
	<script type="text/javascript">
		new Ajax.Updater('latestversioncheck','http://winn.ws/gbupdatechecker/versionck.php',{method: 'get', parameters: {gbversion: '<?=$version;?>'}});
	</script>
	<p id="undernav"><a href="settings.php">Settings</a>  <a class="linkred" href="logout.php">Log out</a> <?php echo getSPAMcount(); ?> 
	<span id="latestversioncheck"></span>
	</p>
</div>